package com.air.ota.vo;

public class SZTCancelResultResTransVO extends SZTBaseResTransVO {
	
	protected byte[] cardAppSequence;
	protected byte   mac2Result;
	protected byte[] outerAuthCode;
	
	public SZTCancelResultResTransVO(){
		super();
		cardAppSequence = new byte[8];
		outerAuthCode=  new byte[8];
	}
	public void parse(byte[] pkg){
		super.parse(pkg);
		if (this.getTransResult()==0x00){
			System.arraycopy(this.transResponseData, 0, cardAppSequence, 0, 8);
			mac2Result = transResponseData[8];
			System.arraycopy(this.transResponseData, 9, outerAuthCode, 0, 8);
		}
		
	}
	public byte[] getCardAppSequence() {
		return cardAppSequence;
	}
	public byte getMac2Result() {
		return mac2Result;
	}
	public byte[] getOuterAuthCode() {
		return outerAuthCode;
	}
	
	
	
}
